<template>
  <div>
    <a-button @click="add">123</a-button>
  </div>
</template>

<script setup>
import store from '@/stores/index';

function add() {
  store.counter.increment();
}
</script>

<style scoped></style>
